package com.res.share.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.res.share.model.ResCollection;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收藏明细 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-09-13
 */
public interface IResCollectionService extends IService<ResCollection> {

    Integer updateArticleCollectionStatus(Integer articleId,Integer userId);

    IPage<ResCollection> findCollectionAricle(Page<ResCollection> page, Integer userId);

    void updateBatchDelcollectionArticle(List<String> collect, Integer userId);

}
